package ui;

import com.sun.corba.se.impl.oa.poa.POAPolicyMediatorImpl_NR_UDS;

public class Inventory {
    private static boolean[] items = new boolean[48];

    public static final int NOTHING = -1;
    public static final int DEKU_STICK = 0;
    public static final int DEKU_NUT = 1;
    public static final int BOMBS = 2;
    public static final int BOW = 3;
    public static final int SLINGSHOT = 4;
    public static final int FAIRY_OCARINA = 5;
    public static final int BOMBCHU = 6;
    public static final int HOOK_SHOT = 7;
    public static final int BOOMERANG = 8;
    public static final int LENS_OF_TRUTH = 9;
    public static final int MAGIC_BEANS = 10;
    public static final int MEGATON_HAMMER = 11;
    public static final int FIRE_ARROW = 12;
    public static final int ICE_ARROW = 13;
    public static final int LIGHT_ARROW = 14;
    public static final int DINS_FIRE = 15;
    public static final int FARORES_WIND = 16;
    public static final int NAYRUS_LOVE = 17;
    public static final int FIRE_BOW = 18;
    public static final int ICE_BOW = 19;
    public static final int LIGHT_BOW = 20;
    public static final int EMPTY = 21;
    public static final int RED_POTION = 22;
    public static final int BLUE_POTION = 23;
    public static final int GREEN_POTION = 24;
    public static final int BLUE_FIRE = 25;
    public static final int BUGS = 26;
    public static final int FISH = 27;
    public static final int POE_SOUL = 28;
    public static final int BIG_POE_SOUL = 29;
    public static final int FAIRY = 30;
    public static final int LON_LON_MILK_HALF = 31;
    public static final int LON_LON_MILK_WHOLE = 32;
    public static final int LONG_SHOT = 33;
    public static final int OCARINA_OF_TIME = 34;
    public static final int EGG = 35;
    public static final int CHICKEN = 36;
    public static final int LETTER = 37;
    public static final int CUJIRO = 38;
    public static final int MUSHROOM = 39;
    public static final int MUSHROOM_POTION = 40;
    public static final int POACHERS_SAW = 41;
    public static final int BROKEN_GORON_SWORD = 42;
    public static final int PRESCRIPTION = 43;
    public static final int FROG = 44;
    public static final int EYEDROPS = 45;
    public static final int SWORD_CERTIFICATE = 46;
    public static final int MASK_OF_TRUTH = 47;

    public static boolean BossKey;
    public static boolean SmallKey;
    public static boolean DungeonMap;
    public static boolean ChildWallet;
    public static boolean AdultWallet;
    public static boolean GiantWallet;
    //Bottle Contains
    public static int Bottle1Content = FAIRY;
    public static int Bottle2Content = LON_LON_MILK_HALF;
    public static int Bottle3Content = BUGS;
    public static int Bottle4Content = POE_SOUL;
    //Count Variables
    public static int BombAmount;
    public static int DekuSeedAmount;
    public static int DekuNutAmount;
    public static int DekuStickAmount;
    public static int BombchuAmount;
    public static int ArrowAmount;
    public static int HeartPiecesAmount;
    public static int SmallKeyAmount;
    public static int MagicBeanAmount;
    public static int RupeeCount;
    public static int GoldenSkulltulas;
    //Young Masks
    public static boolean KeatonMask; //pikachu
    public static boolean SkullMask;
    public static boolean SpookyMask;
    public static boolean BunnyHood;
    public static boolean ZoraMask;
    public static boolean GoronMask;
    public static boolean GerudoMask;
    public static boolean MaskOfTruth;
    //Young Quest Items
    public static boolean Egg;
    public static boolean PokcetCuccoo;
    public static boolean Letter;
    //Old Quest Items
    public static boolean WeirdEgg; //lol
    public static boolean Cojiro; //blue chicken
    public static boolean OddMushroom;
    public static boolean OddPotion;
    public static boolean PoacherSaw;
    public static boolean BrokenGoronSword;
    public static boolean Prescription;
    public static boolean EyeballFrog;
    public static boolean EyeDrops;
    public static boolean ClaimCheck;
    //Link's Armor/Swords
    public static boolean KokiriSword;
    public static boolean MasterSword;
    public static boolean BigGoronSword;
    public static boolean DekuShield;
    public static boolean HylianShield;
    public static boolean MirrorShield;
    public static boolean ForestTunic;
    public static boolean GoronTunic;
    public static boolean ZoraTunic;
    public static boolean KokiriBoots;
    public static boolean IronBoots;
    public static boolean HoverBoots;
    public static boolean GoronBracelet;
    public static boolean SilverGauntlets;
    public static boolean GoldenGaunlets;
    public static boolean SilverScale; //dont think we'll need it
    public static boolean GoldenScale; //or this
    //Current Quest Item Holder
    public static int[] QuestItems = new int[]{SWORD_CERTIFICATE, MASK_OF_TRUTH};
    //Main Quest Items
    public static boolean LightMedallion;
    public static boolean ForestMedallion;
    public static boolean WaterMedallion;
    public static boolean FireMedallion;
    public static boolean ShadowMedallion;
    public static boolean SpiritMedallion;
    public static boolean KokiriEmerald;
    public static boolean GoronRuby;
    public static boolean ZoraSapphire;
    //Ocarina Songs
    public static boolean ZeldaLullaby;
    public static boolean EponaSong;
    public static boolean SariaSong;
    public static boolean SunSong;
    public static boolean SongOfTime;
    public static boolean SongOfStorms;
    public static boolean MinuetOfForest;
    public static boolean BoleroOfFire;
    public static boolean SerenadeOfWater;
    public static boolean RequiemOfSpirit;
    public static boolean NocturneOfShadow;
    public static boolean PreludeOfLight;
    public static boolean ScareCrowSong;

    public static boolean hasItem(int i)
    {
        return items[i];
    }

    public static void getItem(int i)
    {
        items[i] = true;
    }

    public static void test()
    {
        items[DEKU_STICK] = true;
        items[DEKU_NUT] = true;
        items[BOMBS] = true;
        items[SLINGSHOT] = true;
        items[OCARINA_OF_TIME] = true;
        items[BOMBCHU] = true;
        items[BOOMERANG] = true;
        items[LENS_OF_TRUTH] = true;
        items[MAGIC_BEANS] = true;
        Bottle1Content = EMPTY;
        Bottle2Content = EMPTY;
        Bottle3Content = FAIRY;
    }
}
